package com.wish.objectadapter;

/**
 * Created by suliucheng on 2021/1/10 21:06
 * Directions:
 */
public class Adapter5V implements IAdapter5V {

    private Power220V power220V;

    public Adapter5V(Power220V power220V) {
        this.power220V = power220V;
    }

    @Override
    public Integer outPut5V() {
      Integer output5v = this.power220V.getPower()/44;
        return output5v;
    }
}
